package com.jy.admin.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2021/12/13
 * Time: 11:10 上午
 */
public enum SendTaskStatusEnum {
    Waiting(0, "waiting"),
    create_pre_success(1,"create_pre_success"),
    Doing(2, "doing"),
    Success(3, "success"),
    Failed(4, "failed"),
    Exception(5, "exception");

    private Integer status;

    private String desc;

    SendTaskStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public SendTaskStatusEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public SendTaskStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
